Edit UPDATE query.