update custom validation to timestamps