testing update functions