update mypage and fix bugs