Update Previous Record

Code to update the previous record is now in place, now there will need
to be another function to find the previous record and set the values to
it accordingly.