update and use release class