save obs to db