add install instructions to README.md
refactor update_delta duplication