refactoring persistence/index.js use now Update method instead of find and save