Updates for show and hide