updates config and sets it as a dep