update format of submit and cancel buttons