update checkout class