updates magazine and code bugs