Updates magic date handling