change date and legends