save model after retrieving