updated model format to match apx-mongoose