1) added createdAt and updatedAt fields for the credentials table
2) update the pincode when the record already exist