api changes for Joomla 3