update interface function