api change for weighing