update prop changing