Set position from table