update item positions to fit map