update add activity page function .