update and replace delimiate to autopairs