Update insert to keep objects order