File which Abhinav and me wrote to update the database