added states to links query and updated states method in department report