date class edit