[IMP] attachment db update