Deformations of generalized Fuchsian representations