updating form on main page