updating key location