update to retail day, file writing