DB Model changed to work with js admin