update observers and DB class

edited error messages to actually reflect what type of request failed
or had an error. Also added function to DB to update iteration.