update activities (+whitespace fix)