bug on socialsync update; NULL on empty array