Write meta data from activity main