added methods to add media to a chapter