update splashactivity and indexactivity