Update php plugin
Updated api endpoint