update the module of locations