implement edit wiki function