Added logic to update the requests DB when a