PHPCS fixes from dstockto and a bug fix for the event/addtrack and updatetrack v1 calls