added status by id for loan