empty Ajax and edit Ajax