add location in api and edit web form