added toArray methods to models
added methods to save the content updates to ther api