Update dates
Added more specific information about update function