fixes to update