Fixed overwrite impl in ship_udf