Update set function to return the newly added content
#1 Refactor "save" to use the return of set() as the argument for render()