able to update the deadline when creating or draging a node