Initialize updated variable and assign created datetime object