Revert PR#13

In PR#13, I initially wanted to prevent updates to null values, but unfortunately, it caused more problems such as not being able to update values to 'undefined' or ''.

This PR is to revert that change, as well as adding tests to ensure this wont happen again. Regarding PR#13, I have updated documents `_update` method to handle cases where the payload contained undefined/null values.