working updatee --finished dataprocessing portion