update location setting

locate database and template