add 'delete' for ajax method