added clean to update