sample usecase upadate