update stored type of PlaceType in db to number