check mac or win
update log