write dep if installed