updated comments in database class