Why aren't changes reflecting on the preview mode?