update required fields