Update Checkout function