add method to model to save API data to db