adapted update utility, added foreman