Now you need to check if `key` is not `NULL`. If it is, there is no need to update the property.

```c
if (key) {
    phalcon_update_property_this(this_ptr, SL("_key"), key TSRMLS_CC);
}
```