updated Joomla snippets