Updates to relation.cpp and relation.h

Updated some functionality in the update function, but it is broken due
to need for a recursive descent parser to parse the conditions. Added a
find_key function to access the place where a key value is held within
the key of a given entry in the map.