finished functionality for updating all objects