updating figure numbers in table