add auto-update support