filter by date before update()