Added overloaded method for editRecord so both integer and string field could be edited