Editing Image

Hi all,
I have one stuff called image upload. in which if i upload the image
it’ll be stored in the database. Its working cool. So can i also edit
the image?? means instead of that image i should be stored a new image.
if so how??

Regards,
Harish