update custom fields