debugged updateFunction