updates very hacky..but working