updating objects