updates for drag and drop