replace placeholders in entries on save