update activities in activities model