add before save calls to adjust dates