add image task table and sync db.