update next&prev activity