udpate splashactivity and indexactivity