Fix add function  #96

Removed $oldValue var