Updating the view for the controller with Firebase