Fixed some problems with update_group