Refactored dbwrapper.java - Replacing function updateVirtualPropertyOfFacility with generic function updateFieldValue