update with modifier mask