Fixed typo in update query