update style for draggable event