update different functions