small bug fixes
adding field to db
update