update version
Improve overlay logic in hook_init