Update priority when moving on drop