regenerate contents