refined refresh_all()
rewritten get_delta_join() to use group_concat() instead of cursor & loop