updated graphs api