fix update query
update pages for the admin users