added replication, locked, and meta support for cube