Updated loading and visibility-hidden