removed flush to allow transactional processing for models