Update log and add close or cancel pay