update build file to version 2