As you said, when you filed the affidavit you were unemployed, but later you got employment and you started working. Since this is a subsequent development, i.e. after you filed the affidavit, you may file a fresh affidavit bringing this fact on record before the family court. The full facts can be narrated to the police/magistrate as the case may be so that you are discharged of the criminal case. don't worry! no case of perjury can be made out against you if the facts stated by you are true.