updating sub mdoule