changed rest api to pattern xml
new pages