added update function ls