slide update, remove newFunction