update for Statamic 1.5 and greater