added update object functionality