patch session