can now populate state_id field