Update margin draging