Update #set_position query from ancient rails syntax