fixed read/update method so they won't throw exception