save acknowledgement status in db