updated save code for skydrive