modify location model