change date to auto create