udpate for drag