add $merge argument to setPlaceholders