Update category position by dragging and dropping