API to update a poem