Update to php class.