finally got the update query to work

finally got the update query to work