Revise provision code