update location to main file