Added editing to the imageDao.