library to add, remove, and compute fields in a hash based on version numbers