update compoer.json, autoload file and require phptal