Fix page update which puts an array in array. Minor api updates.