writes updated getcaminfo