fixed so the date updates