update show and hidden js