modify CRUD function and team function