Implement SetAlias
Update Metapage to use database