Added update function. Updates and entry with a new value if the entry exists.
git commit test