update modules and paths