Fixed updating of props bug