Update the modules metadata system
Use a better query when counting currencies
Update for the change in the UI handler