updating gui with log