updated keystone flow