Fixed error codes. Took away quotations on updateRecord