Minor changes to fields, created sql