Update get_pointer() instead of a combination of get() and set().