fixing misstype dependency
adding context to update