updates a bit