update beta
comment unused function