controllers updated.

updated as per new joomla version.
This function look like an empty. Please review this in next PR.