attach file, dept name, updated db