change rank when deleting