update activity layout