fix update of locations