update hash after drag move