updated core api