update ui, disable draggable and resizable