update pygame program