Updates Pages to add insert and count method