fix update main page