set the entry_id when editing for magic tags