get public info to db