add created/updated fields to entities