update Cancel button