branch code move all and added message if branch code still assigned to branch code