field type update and query typo fixed