fill in data and change footer