generating post data - update every time layout changes