public void update(....){
//complete here
.....

Awesome! Normally I give negative rep for posts like these where the OP just wants you to do all the work for him/her, but adiel224 hasn't even bothered to cut and paste the assignment verbatim, so I couldn't even do the whole thing if I was so inclined!

+rep for the most absurd thread I've seen on Daniweb, which is saying a lot.

Actually adiel224 even forgot to close the bracket :D

This will not compile:

public void update(....){
//complete here
.....

This will:

public void update(....){
//complete here
//.....
}

And that is the only help you will get after such post

This question has already been answered. Start a new discussion instead.