Make create group save to the database.