add updated flag with date support