Added auto-update feature and updated templates to allow template compression