update form refreshing