update build command
actually return when in the error case