asn detail add and update