updating pad array

having trouble with this challenge