implemented backend update function.