update version 1 to 2