Moved account_updates to avp\updates.class

Also updated to new database\core method