some updates in DB and doctor part