Update Category registry table and refactor away DBObject