upload update and delete image in helper