updates multiple functions and methods

Modified the "checkValue" function - eliminated redundant code
Modified the "update" method include calling the "getHolder" function
which updates the regular expressions
Modified the "getHolder" function so the regular expressions are updated
Modified the "set" method to convert value from number to string