Adding updating objects functionality