change app context for auto commit