update class, method format