clear button of logging and some upgrades