Set dates correctly

use setters for dates update