add put route for account groups
add groups event to save changes to account groups