update with activity log layout and function