update build sdk, added methods to supor retry on error