Fixing update and mod mask issues.