[TASK] Replace deprecated API calls and label references