add table, update user