fix subject update bug