Update local methods in oxam.js