Update Magic Method and autoload method