update internal module references