update ClerkContoller to add the functionality to generate and update
receipt