update location template