update graphics object api