rename date attr