Re-implement meta programming for updating a time attribute