delete and extend rows added