update php website and php api