Add delete at head and tail