copy style of dragged element
update