update index page and create form