Drag and drop function added without background updates