update option and add media option