changing the profile table updates the graph
make slope field in profile table readonly