Update table function works.