update frontpage blocks with php template functions