Update @ajax decorator