roll back app session update change and fix in the api