updates and save locations