Rewrite setting page
Add update api