update w/ index method (not working)