updated home model and command api