add delete functionality ajax working