update and fix drag (drop option)