Fix typo in format update query