core: Make z_db:update/4 more robust when the updating props column