update moon show up and dismiss method