changed post data object
renamed model factory