updated privly-application module