update premium example code