Fixed property update function to escape special characters.

Fixes MySQL error at installation when updated property has such characters at params or description.