modifing API to allow it to update sites sequentially rather than in one go at the end, thus if one site fails it will still do the rest