update moduleId to correct upper/lower case