DO NEVER EVER EVER WRITE DIRECTLY INTO YOUR DATABASE.
Use Zammad and it’s core functions to update things.
You’re workarounding security and integrity checks.
If you break anything with that, nobody will be able to help you.
You have forced me to redact your loose actions as you’re risking the secure runtime of copy cat users that don’t understand the scope of your actions. Said fields are not editable for good reasons, you should leave them as is.