New command to update all the image h, w, size field in the database.