Updating image ref