add creation time to metadata