update for using joomla/event