add sync with ids array feature + specs, update TODO, better logging, small fixes