Added methods to edit location and status in FireBase database