obvious bug in UpdateDeleteAt