update wrong sql