update readme example code to match actual build method instead of create