remove excess ambigous updates in the update query