passes data succesfully however still doesnt update screen the right way