Updated the PHP webhook code