add query and edit member info