module also updated with refs