update and ordonate the classe and method on him