Correcting update sql names