updated checkout controller