updatin the gneerated js