update form refreshing and CSS