updates form