Updatate log and mail package