update form clear method