move attachment metadata in theme