edit comments for methods