update check for country id is set and state province is set