add canvas refresh