updating sync and debugging stuff