updating header and making sorting work for admin