updating checkout action in the view