upgrade rails association