Update locations API