Updating correspondence with firebase