Rename the $location variable to $updated or something.