fix returning clause in update statements