fixed locations model update bug