Update AM scripts