updating for new app flow