updating the template and themeing file for the pager