Added saving stories to database.