edit in class