update beta check logic