Crud operations using ajax except delete