Changed Update Function

Major changes to the Update() in order for it to actually work! It works
with multiple WHERE statements built in a String.