added update_object() function useful in tbs games