updates and fixes atobject