Don't create new entry on change.

Bring back update function to delete entry when module or key name have
not changed.